package terningespilconsol;



import java.util.ArrayList;
import java.util.List;

public class TestSymmetri {

	public static void main(String[] args) {
		int[] terningeArray;
		terningeArray = new int[1000];
		int[] dataset;
		dataset = new int[6];
		Terning terning = new Terning();
		for(int i = 0; i<terningeArray.length ; i++){
			terning.hit();
			terningeArray[i] = terning.getAntalOjne();
			
			
		}
		
		for(int t : terningeArray){
			System.out.println(t);
			dataset[t-1]++;
		}
		System.out.println("dice rolled 1: " + dataset[0] + " times.. that's " + (double)dataset[0]/10 + "%");
		System.out.println("dice rolled 2: " + dataset[1] + " times.. that's " + (double)dataset[1]/10 + "%");
		System.out.println("dice rolled 3: " + dataset[2] + " times.. that's " + (double)dataset[2]/10 + "%");
		System.out.println("dice rolled 4: " + dataset[3] + " times.. that's " + (double)dataset[3]/10 + "%");
		System.out.println("dice rolled 5: " + dataset[4] + " times.. that's " + (double)dataset[4]/10 + "%");
		System.out.println("dice rolled 6: " + dataset[5] + " times.. that's " + (double)dataset[5]/10 + "%");
		
		
	}

}
